package com.maiji.cloud.entities.shopingmall;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 *  订单 - 购物车 - 中间表
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "shoping_order_middle_shoping_cart")
public class ShopingOrderMiddleShopingCart {

    @TableId
    @Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId;

    @Column(name = "order_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String orderId; // 订单ID

    @Column(name = "shoping_cart_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String shopingCartId; // 购物车记录D

}
